package fr.afcepf.atodcp2.benbai.dao.implementations;

import java.util.ArrayList;
import java.util.List;

import fr.afcepf.atodcp2.benbai.dao.generique.GenericDaoHibernateTemplateImpl;
import fr.afcepf.atodcp2.benbai.dao.interfaces.IDaoPointVente;
import fr.afcepf.atodcp2.benbai.entity.PointDeVente;

public class DaoPointVente extends GenericDaoHibernateTemplateImpl<PointDeVente, Integer>
		implements IDaoPointVente {

	
	@SuppressWarnings("unchecked")
	@Override
	public List<PointDeVente> getAllPointDeVente() {
		List<PointDeVente> retour = new ArrayList<PointDeVente>();
		retour = hibernateTemplate.find("FROM PointDeVente");
		return retour;
	}

	
}
